#ifndef _BALL_H_
#define _BALL_H_

#include "BasicGeometry.h"
#include "Line.h"

class CBall
	{
private:
	TInt iRad;
	TRealPoint iPos;
	TRealVector iAcc;
	TRealVector iVel;
protected:
	CBall();
public:
	~CBall();
public:
	virtual TInt GetRad();
	virtual void SetRad( TInt aRad );
	virtual TRealPoint GetPos();
	virtual void SetPos( TRealPoint aPos );
	virtual TRealVector GetAcc();
	virtual void SetAcc( TRealVector aAcc );
	virtual TRealVector GetVel();
	virtual void SetVel( TRealVector aVel );
public:
	virtual void Move();
	virtual TBool Hit( CLine* aLine );
private:
	// iObserver;
	};



#endif
